//
//  HHPlayerNoControlView.h
//  HHAVPlayer
//
//  Created by lch on 2022/1/21.
//

#import <UIKit/UIKit.h>
#import "HHAVPlayerHeader.h"
NS_ASSUME_NONNULL_BEGIN

@interface HHPlayerNoControlView : UIView

/** 视频URL */
@property (nonatomic, strong) NSURL                *videoURL;
/** 设置playerLayer的填充模式 */
@property (nonatomic, assign) HHPlayerLayerGravity playerLayerGravity;
/** 是否要重复播放，默认NO */
@property (nonatomic, assign) BOOL                 isRepeatPlay;

/**
 *  单例，用于列表cell上多个视频
 *
 *  @return ZFPlayer
 */
+ (instancetype)sharedPlayerView;

/**
 *  播放
 */
- (void)play;

/**
  * 暂停
 */
- (void)pause;





@end

NS_ASSUME_NONNULL_END
